<?php
class Referral_requests_model extends MY_Model
{
	public
		$table  = 'referral_requests',
		$table2 = 'users',
		$prKey  = 'requests_id';


	function __construct()
	{
		parent::__construct();		
			
		$this->rules = array(
			'requests_id' 		=> "trim|integer",
			'requests' 	        => "trim|required|max_length[255]",
			'requests_time'	    => "trim|max_length[255]",
		);
	}
	
	
	
}
?>	